//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<render_scheduler.h>
///	@path	~/src/engine/xcore/
///	@date	2008/03/23
///	@desc	.

#pragma once

#include "xeres.h"

#include "graphics/IRenderer.h"
#include "graphics/RenderContext.h"
#include "graphics/RenderManager.h"

namespace xeres {

	/*! 
		\class	RenderScheduler
		\brief	Render action scheduler.
	*/
	class RenderScheduler : public RenderManager
	{
	protected:

		/// \name Constructor & Destructor
		//@{

		/// \ctor
		RenderScheduler( void );

		/// \dtor
		~RenderScheduler( void );

		//@}

		/// \name Internal Manipulation
		//@{

		/*!
			\brief		Render updated frame.
		*/
		void RenderFrame( void );

		//@}

	public:

		/// \name Interface Manipulation
		//@{

		/*! 
			\brief		Query if enable render.
		*/
		bool IsEnableRender( void );

		//@}

	protected:

		//@ data
	};

} // namespace xeres
